package io.renren.modules.sys.customer.service.impl;

import io.renren.modules.sys.customer.dao.BtCustomerProYinqiDao;
import io.renren.modules.sys.customer.entity.BtCustomerProYinqiEntity;
import io.renren.modules.sys.customer.service.BtCustomerProYinqiService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
;


@Service("btCustomerProYinqiService")
public class BtCustomerProYinqiServiceImpl extends ServiceImpl<BtCustomerProYinqiDao, BtCustomerProYinqiEntity> implements BtCustomerProYinqiService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<BtCustomerProYinqiEntity> page = this.selectPage(
                new Query<BtCustomerProYinqiEntity>(params).getPage(),
                new EntityWrapper<BtCustomerProYinqiEntity>()
        );

        return new PageUtils(page);
    }

}
